package com.gxa.saas.mapper;

import com.gxa.saas.pojo.Warehouse;

import java.util.List;
import java.util.Map;

/**
 * @Author: yx
 * @Date: 2022/6/7 14:38
 */
public interface WarehouseMapper {

    List<Warehouse> selectAll();
    Integer selectAllNumber();
    List<Warehouse> selectByPage(Integer offset,Integer size);
    void insert(Warehouse warehouse);
    void update(Warehouse warehouse);
    void delete(Integer id);
    List<Warehouse> selectLikeName(Map map);
    void updateIsUsed(Warehouse warehouse);
}
